package com.link2room.rodimus.dto.result.base;

import com.link2room.common.annotation.L2RDatetimeString;
import com.link2room.common.dto.result.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

/**
 * Created by sss on 2017/4/18.
 */
@ApiModel(value = "积分规则")
public class PointRuleDto extends BaseDto {
    @ApiModelProperty(value = "积分规则代码")
    private String pointRuleCode;
    @ApiModelProperty(value = "积分规则名称")
    private String pointRuleName;
    @ApiModelProperty(value = "积分规则详情")
    private String pointRuleDetail;
    @ApiModelProperty(value = "积分使用时间")
    private String pointUseDates;
    @ApiModelProperty(value = "开始时间")
    private Date startDate;
    @L2RDatetimeString(source = "startDate")
    private String startDateStr;
    @ApiModelProperty(value = "结束时间")
    private Date endDate;
    @L2RDatetimeString(source = "endDate")
    private String endDateStr;
    @ApiModelProperty(value = "积分规则详情列表")
    private List<PointRuleDetailDto> pointRuleDetailDtoList;
    @ApiModelProperty(value = "积分使用详情")
    private List<PointUseDatesDto> pointUseDatesDtoList;
    @ApiModelProperty(value = "支付流水号")
    private String taCode;
    @ApiModelProperty(value = "是否使用日期")
    private String isUseDates;

    public String getPointRuleCode() {
        return pointRuleCode;
    }

    public void setPointRuleCode(String pointRuleCode) {
        this.pointRuleCode = pointRuleCode;
    }

    public String getPointRuleName() {
        return pointRuleName;
    }

    public void setPointRuleName(String pointRuleName) {
        this.pointRuleName = pointRuleName;
    }

    public String getPointRuleDetail() {
        return pointRuleDetail;
    }

    public void setPointRuleDetail(String pointRuleDetail) {
        this.pointRuleDetail = pointRuleDetail;
    }

    public String getPointUseDates() {
        return pointUseDates;
    }

    public void setPointUseDates(String pointUseDates) {
        this.pointUseDates = pointUseDates;
    }

    public Date getStartDate() {
        return startDate;
    }

    public void setStartDate(Date startDate) {
        this.startDate = startDate;
    }

    public String getStartDateStr() {
        return startDateStr;
    }

    public void setStartDateStr(String startDateStr) {
        this.startDateStr = startDateStr;
    }

    public Date getEndDate() {
        return endDate;
    }

    public void setEndDate(Date endDate) {
        this.endDate = endDate;
    }

    public String getEndDateStr() {
        return endDateStr;
    }

    public void setEndDateStr(String endDateStr) {
        this.endDateStr = endDateStr;
    }

    public List<PointRuleDetailDto> getPointRuleDetailDtoList() {
        return pointRuleDetailDtoList;
    }

    public void setPointRuleDetailDtoList(List<PointRuleDetailDto> pointRuleDetailDtoList) {
        this.pointRuleDetailDtoList = pointRuleDetailDtoList;
    }

    public List<PointUseDatesDto> getPointUseDatesDtoList() {
        return pointUseDatesDtoList;
    }

    public void setPointUseDatesDtoList(List<PointUseDatesDto> pointUseDatesDtoList) {
        this.pointUseDatesDtoList = pointUseDatesDtoList;
    }

    public String getTaCode() {
        return taCode;
    }

    public void setTaCode(String taCode) {
        this.taCode = taCode;
    }

    public String getIsUseDates() {
        return isUseDates;
    }

    public void setIsUseDates(String isUseDates) {
        this.isUseDates = isUseDates;
    }
}
